﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;

namespace ServiceOperater.Helpers
{
    public static class ReflectHelper
    {
        public static FieldInfo getInstanceField(string fieldName)
        {
            // https://stackoverflow.com/questions/1155529/not-getting-fields-from-gettype-getfields-with-bindingflag-default

            // 扩展方法怎么写来着？？？？

            // 自身的实例私有字段
            //   BindingFlags.NonPublic | BindingFlags.Instance

            //  BindingFlags.Public | BindingFlags.NonPublic |  BindingFlags.Static | BindingFlags.Instance |  BindingFlags.DeclaredOnly
            return null;
        }
    }
}
